doctype html
html
  head
    meta(charset='UTF-8')
    meta(name='viewport', content='maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0')
    title Birdie2
    style.
      .prompt {
        text-align: center;
      }
  body
    - var prompt = data.state === 'success' ? '加入成功' : data.state.errMsg
    .prompt #{prompt}
    if data.state === 'success' || 'has joined'
      a(href="#{data.url}") 进入实时房间
    script.
      
    
